<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html  lang="en">
<head>
<jsp:include page="head.jsp">
	<jsp:param value="学员订单管理" name="title" />
</jsp:include>
</head>
<body  scroll=no>
	<header class="navbar clearfix navbar-fixed-top" id="header">
		<div class="container">
				<div class="navbar-brand">
					<!-- COMPANY LOGO -->
					<a>
						<div style = "color:white; font-size: 30px;float:right" height="30" width="120">TR 韬睿科技</div>
					</a>
					<!-- /COMPANY LOGO -->
					<!-- TEAM STATUS FOR MOBILE -->
					<div class="visible-xs">
						<a class="team-status-toggle switcher btn dropdown-toggle">
							<i class="fa fa-users"></i>
						</a>
					</div>
					<!-- /TEAM STATUS FOR MOBILE -->
					<!-- SIDEBAR COLLAPSE -->
					<div id="sidebar-collapse" class="sidebar-collapse btn" >
						<i class="fa fa-bars" 
							data-icon1="fa fa-bars" 
							data-icon2="fa fa-bars" ></i>
					</div>
					<!-- /SIDEBAR COLLAPSE -->
				</div>
				<!-- NAVBAR LEFT -->
				<ul class="nav navbar-nav pull-left hidden-xs" id="navbar-left">
					<li style = "color:white !important;">
							<a href="custom/checkemployeework"  target = "iframe">工作日志</a>
					</li>
					<li class="dropdown">
						<a class="dropdown-toggle" data-toggle="dropdown" >
							<i class="fa fa-cog"></i>
							<span class="name">Skins</span>
							<i class="fa fa-angle-down"></i>
						</a>
						<ul class="dropdown-menu skins">
							<li class="dropdown-title">
								<span><i class="fa fa-leaf"></i> Theme Skins</span>
							</li>
							<li><a data-skin="default" > Subtle (default)</a></li>
							<li><a data-skin="night">Night</a></li>
							<li><a data-skin="earth">Earth</a></li>
							<li><a data-skin="utopia">Utopia</a></li>
							<li><a data-skin="nature">Nature</a></li>
							<li><a data-skin="graphite">Graphite</a></li>
						 </ul>
					</li>
				<!-- 	<li style = "color:white !important;">
						<a href="position" >回收站
						</a>
					</li> -->
				</ul>
				
				<ul class="nav navbar-nav pull-left hidden-xs" id="navbar-left" style = "float:right !important;color:white !important;">
					<li class="dropdown user" id="header-user">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown">
							<img alt="" src="img/avatars/avatar3.jpg" />
							<span class="username">${sessionScope.emp.empName}</span>
							<i class="fa fa-angle-down"></i>
						</a>
						<ul class="dropdown-menu">
							<li><a href="logout.jsp"><i class="fa fa-power-off"></i> 退出</a></li>
						</ul>
					</li>
					
					<%-- <li >
						<a href="logout.jsp" style = "color:white">您好！${sessionScope.emp.empName}</a>
					</li>
					<li >
						<a href="logout.jsp" style = "color:white">退出</a>
					</li> --%>
				</ul>
			</div>		
	</header>

	<section id="page" >
				<!-- SIDEBAR -->
				<div id="sidebar" class="sidebar sidebar-fixed">
					<div class="sidebar-menu nav-collapse">
						<ul>
							<li>
								<a  href="manager"  target = "iframe">
								<i class="fa fa-tachometer fa-fw" style =  "background-image: url(img/company.png);width: 17px;"></i> <span class="menu-text">首页</span>
								<span class="selected"></span>
								</a>					
							</li>
							<li>
								<a href="dept/form"  target = "iframe">
								<i class="fa fa-tachometer fa-fw" style =  "background-image: url(img/dept.png);width: 17px;"></i> <span class="menu-text">部门管理</span>
								<span class="selected"></span>
								</a>					
							</li>
							<li>
								<a href="position?postStatus=1"  target = "iframe">
								<i class="fa fa-tachometer fa-fw" style =  "background-image: url(img/post.png);width: 17px;"></i> <span class="menu-text">职位管理</span>
								<span class="selected"></span>
								</a>					
							</li>
							<li class="has-sub">
								<a href="javascript:;" class=""  target = "iframe">
								<i class="fa fa-bookmark-o fa-fw" style =  "background-image: url(img/emp.png);width: 17px;"></i> <span class="menu-text">人事管理</span>
								<span class="arrow"></span>
								</a>
								<ul class="sub">
									<li><a class="" href="employee?empStatus=1" target = "iframe"><span class="sub-menu-text" >在职人员</span></a></li>
									<li><a class="" href="employee?empStatus=0" target = "iframe"><span class="sub-menu-text" >离职人员</span></a></li>				
								</ul>
							</li>
							<li>
								<a href="custom"  target = "iframe">
								<i class="fa fa-tachometer fa-fw" style =  "background-image: url(img/custom.png);width: 17px;"></i> <span class="menu-text">客户管理</span>
								<span class="selected"></span>
								</a>					
							</li>
								<li class="has-sub"  target = "iframe">
								<a href="javascript:;" class="">
								<i class="fa fa-table fa-fw" style =  "background-image: url(img/stu.png);width: 17px;"></i> <span class="menu-text">学员管理</span>
								<span class="arrow"></span>
								</a>
								<ul class="sub">
									<!-- <li><a class="" href="student/sign"  target = "iframe"><span class="sub-menu-text">签约管理</span></a></li> -->
									<li><a class="" href="student"  target = "iframe"><span class="sub-menu-text">签约和收款</span></a></li>
									<li><a class="" href="student/main" target = "iframe"><span class="sub-menu-text">分配班级</span></a></li>
									<li><a class="" href="student/graduate" target = "iframe"><span class="sub-menu-text">毕业学员</span></a></li>
								</ul>
							</li>
							<li class="has-sub">
								<a href="javascript:;" class=""  target = "iframe" href = "${ not empty sessionScope.listApply?'javascript:void(0)':'cust/form'}" id="${ not empty sessionScope.listApply?'click':''}">
								<i class="fa fa-pencil-square-o fa-fw" style =  "background-image: url(img/follow.png);width: 17px;"></i> <span class="menu-text">客户跟进</span>
								<span class="arrow"></span>
								</a>
								<ul class="sub">
									<li><a class="" href="cust/form" target = "iframe" target = "iframe"><span class="sub-menu-text">客户管理</span></a></li>
									<li><a class="" href="apply/form" target = "iframe"><span class="sub-menu-text">援助管理</span></a></li>
								</ul>
							</li>
						</ul>
					</div>
				</div>
	</section>
	
<!-- 援助消息提醒 -->
 <c:forEach items="${ listApply }" var="apply">
<div class="ui basic modal">
  <i class="close icon"></i>
  <div class="header">
    有你的信息
  </div>
  <div class="image content">
    <div class="image">
      <i class="archive icon"></i>
    </div>
    <div class="description">
    	<input type="hidden" value="${ apply.apply_id }" id="applyId">
    	<input type="hidden" value="${  sessionScope.emp.empId }" id="acceptId">
      <p style="font:14px '微软雅黑'">${ apply.emp_name }&nbsp;&nbsp;向你发送了一条援助信息。</p>
      <p style="font:14px '微软雅黑'">嘿！&nbsp;&nbsp;${ sessionScope.emp.empName }&nbsp;&nbsp;,我这有一棘手的货&nbsp;&nbsp;${ apply.cust_name }&nbsp;&nbsp;。你敢接吗?</p>
    </div>
  </div>
  <div class="actions">
    <div class="two fluid ui inverted buttons" style="width:250px;float:right;">
      <div class="ui red basic inverted button" id="jujue">
        <i class="remove icon"></i>
        	残忍拒绝
      </div>
      <div class="ui ok green basic inverted button" id="jieshou" style="margin-left:5px;">
        <i class="checkmark icon"></i>
        	戳下试试
      </div>
    </div>
  </div>
</div>
</c:forEach>
<div id="main-content" >
		 <iframe name = "iframe" width="100%" height = "99%" src = "manager">
		</iframe>
</div>

</body>
</html>	
